package com.woniuxy.entity;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Date;
import java.io.Serializable;

/**
 * 跑腿(AllRun)实体类
 *
 * @author makejava
 * @since 2025-07-10 10:03:29
 */
public class AllRun implements Serializable {
    private static final long serialVersionUID = 357135962728515272L;
    /**
     * 跑腿id
     */
    private Integer id;
    /**
     * 用户id
     */
    private Integer userId;
    /**
     * 标题
     */
    private String title;
    /**
     * 描述
     */
    private String runDescribe;
    /**
     * 价格
     */
    private BigDecimal price;
    /**
     * 文件
     */
    private String file;
    /**
     * 取货地址
     */
    private String startaddress;
    /**
     * 签收地址
     */
    private String endaddress;
    /**
     * 标签类型
     */
    private Integer typeId;
    /**
     * 发布时间
     */
    private LocalDateTime createTime;
    /**
     * 更改时间
     */
    private LocalDateTime updateTime;

    /**
     * 订单状态
     * @return
     */
    private Integer state;

    /**
     * 点赞数
     * @return
     */
    private Integer likes;
    /**
     * 浏览量
     * @return
     */
    private Integer views;
    /**
     * 截止时间
     * @return
     */
    private LocalDateTime deadline;
    private String runNumber;
    //取件码
    private String code;
    //手机尾号
    private String phoneEnd;
    //备注
    private String remark;
    private Integer takeUserId;

    public Integer getTakeUserId() {
        return takeUserId;
    }

    public void setTakeUserId(Integer takeUserId) {
        this.takeUserId = takeUserId;
    }

    public String getPhoneEnd() {
        return phoneEnd;
    }

    public void setPhoneEnd(String phoneEnd) {
        this.phoneEnd = phoneEnd;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getRunNumber() {
        return runNumber;
    }

    public String getRunDescribe() {
        return runDescribe;
    }

    public void setRunDescribe(String runDescribe) {
        this.runDescribe = runDescribe;
    }

    public void setRunNumber(String runNumber) {
        this.runNumber = runNumber;
    }

    public LocalDateTime getDeadline() {
        return deadline;
    }

    public void setDeadline(LocalDateTime deadline) {
        this.deadline = deadline;
    }

    public Integer getLikes() {
        return likes;
    }
    //    public Date getDeadline() {
//        return deadline;
//    }
//
//    public void setDeadline(Date deadline) {
//        this.deadline = deadline;
//    }
//    public Integer getLikes() {
//        return likes;
//    }

    public void setLikes(Integer likes) {
        this.likes = likes;
    }

    public Integer getViews() {
        return views;
    }

    public void setViews(Integer views) {
        this.views = views;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }



    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public String getFile() {
        return file;
    }

    public void setFile(String file) {
        this.file = file;
    }

    public String getStartaddress() {
        return startaddress;
    }

    public void setStartaddress(String startaddress) {
        this.startaddress = startaddress;
    }

    public String getEndaddress() {
        return endaddress;
    }

    public void setEndaddress(String endaddress) {
        this.endaddress = endaddress;
    }

    public Integer getTypeId() {
        return typeId;
    }

    public void setTypeId(Integer typeId) {
        this.typeId = typeId;
    }

//    public Date getCreateTime() {
//        return createTime;
//    }
//
//    public void setCreateTime(Date createTime) {
//        this.createTime = createTime;
//    }

//    public Date getUpdateTime() {
//        return updateTime;
//    }
//
//    public void setUpdateTime(Date updateTime) {
//        this.updateTime = updateTime;
//    }


    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }
}

